<template>
  <div>
    <el-radio-group v-model="radio3" @change="statusChange">
      <el-radio-button label="BJ">北京</el-radio-button>
      <el-radio-button label="NJ">南京</el-radio-button>
    </el-radio-group>
  </div>
</template>

<script>
import Event from '../bus'

  export default {
    name: "statusCom",
    props: ['status'],
    data () {
      return {
        radio3: 'BJ'
      };
    },
    methods: {
        statusChange:function(val){
            console.log(val);
            Event.$emit('update:count',val);
        }
    }
  }
</script>